import {req_post} from "../ApiInterface";
import md5 from 'js-md5'
function getTest(callback) {
  let param="param";
  let keyS=md5(param+"36");
  const bodydata={
    UserId:"36",
    keyStr:keyS
  };

  const netapi="getTest";
  req_post(netapi,bodydata,callback);
}
function getEvaPast(bodydata,callback) {
  let param="param";
  let keyS=bodydata['UserId']?md5(param+bodydata['UserId']):md5(param);
  bodydata['keyStr']=keyS;
  const bodyData=bodydata;
  const netapi="getEvaPast";
  console.log(bodyData,"往期报告");
  req_post(netapi,bodyData,callback);
}

export {
  getTest,
  getEvaPast
}
